package cn.cimoc.config;

import cn.cimoc.pojo.zhaoyun.BlueBlade;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @author LGZ
 * @date 2022/7/3 15:55
 * <p>
 */
@Configuration
@ComponentScan("cn.cimoc.pojo.zhaoyun")
public class ZhaoYunConfig {

    @Bean
    public BlueBlade blueBlade1() {
        return new BlueBlade("青釭剑", 2);
    }

    @Bean
    public BlueBlade blueBlade2() {
        return new BlueBlade("青釭剑", 3);
    }
}
